import React from 'react'

import {BrowserRouter} from 'react-router-dom'

import RouterView from './router-view'

import routerConfig from './router-config'

function Router(){
    return <BrowserRouter>
        <RouterView routes={routerConfig}></RouterView>
    </BrowserRouter>
}
export default Router